﻿using Microsoft.Xna.Framework;
using SomeGame.Actors.Components;

namespace SomeGame.Actors.Types {

    public class RotatingSprite : Actor {

	    private readonly Rotation Rotation;

        public RotatingSprite(string name, Body body, Rotation rotation) 
			: base(name, body) {
            AddComponent(body);
	        Rotation = rotation;
            AddComponent(rotation);
        }

    }

}